/**
 * ProjectName:  mall-service
 * FileName:  AUserService.java
 * PackageName:  com.blx..service
 * Copyright (c) 2013, CYOU All Rights Reserved.
*/
package com.blx.service;

import java.util.Map;

import com.blx.entity.AUser;
import com.blx.entity.QUser;
import com.blx.model.request.RegisterRequest;
import com.blx.model.response.RegisterResponse;
import com.blx.utils.pagination.Pagination;

/**
 * ClassName: AUserService. <br/>
 * Description:  AUser接口 <br/>
 * @author wangwl
 * 2013-3-4 下午8:51:59 <br/>
 * @version 1.0
 */
public interface AUserService {
	/**
	 * 保存AUser实体 <br/>
	 * @param aUser
	 * @author wangwl
	 * 2013-3-4 下午8:59:29
	 */
	public void saveAUser(AUser aUser);

	/**
	 * 更新AUser实体<br/>
	 * @param aUser
	 * @author wangwl
	 * 2013-3-4 下午8:59:52
	 */
	public void updateAUser(AUser aUser);
	/**
	 * 根据id删除AUser实体 <br/>
	 * @param aUserId
	 * @author wangwl
	 * 2013-3-4 下午9:00:14
	 */
	public void deleteAUserById(Integer aUserId);
	/**
	 * 根据id获取AUser实体 <br/>
	 * @param aUserId
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:00:32
	 */
	public AUser getAUser(Integer aUserId);
	/**
	 * 分页查询AUser <br/>
	 * @param pageNumber
	 * @param pageSize
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:01:23
	 */
	public Pagination<AUser> findPageAUserAll(int pageNumber,int pageSize);

	public AUser getAUserEntity(Map<String, Object> map);

	public RegisterResponse userRegister(RegisterRequest request);
}

